#!/bin/bash
#delete previous files
export PYENV_VERSION=2.7.6

swig -c++ -python segsig.i
g++ -c segsig.cxx
g++ -c segsig_wrap.cxx -I/home/local/MSI/ysun/.pyenv/versions/2.7.6/include/python2.7
g++ -shared segsig.o segsig_wrap.o -o _segsig.so